package com.gulimall.product.dao;

import com.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author 王半仙
 * @email 1979526040@qq.com
 * @date 2022-11-22 22:14:33
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    /**
     * 批量删除分组与属性关联表中的数据
     * @param relationEntityList
     */
    void deleteRelations(@Param("relationEntityList") List<AttrAttrgroupRelationEntity> relationEntityList);
}
